package cn.itsource.pethome.org.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Status {
    private Long id;
    private Integer states;
    private String reson;
    private Date date = new Date();
    private Shop shop;

    public Status(Integer states, String reson, Shop shop) {
        this.states = states;
        this.reson = reson;
        this.shop = shop;
    }
}
